package org.example.exp3.exam6;

public class InsulatedDoorObserver implements AlarmListener {
   public InsulatedDoor insulatedDoor = new InsulatedDoor();
   
   public void alarm() {
      insulatedDoor.close();
   }
}